package login

import (
	"go_server/game_server/api/service"
	"go_server/zinx/ziface"
)

type loginService struct {
	service.AbsService
	clientTestApi *clientTestApi
	loginApi      *loginApi

}

var (
	serviceObj *loginService
)

func init() {
	serviceObj = &loginService{
		clientTestApi: &clientTestApi{},
		loginApi:      &loginApi{},
	}
}

func GetLoginApi() ziface.IRouter {
	return serviceObj.loginApi
}

func GetClientTestApi() ziface.IRouter {
	return serviceObj.clientTestApi
}

func (s *loginService) GetModuleName() string {
	return "login"
}

